package com.ktgj.customer.service;

import com.ktgj.customer.domain.Customer;
import com.ktgj.customer.domain.Insurance.ApplyPolicyNoPayInput;
import com.ktgj.customer.domain.Insurance.axModel.AnXinInsurance;
import com.ktgj.customer.domain.Insurance.dftModel.BuyInsuranceInput;
import com.ktgj.customer.domain.Insurance.dxModel.InsureRequest;
import com.ktgj.customer.domain.Insurance.hlModel.*;
import com.ktgj.customer.domain.InsuranceRecord;
import com.ktgj.customer.domain.InsuranceType;
import com.ktgj.customer.domain.vo.*;

import java.util.List;

public interface IInsuranceRecordService
{
    /**
     * 新增保险记录
     */
    public InsuranceReturnVo insertInsuranceRecord(Long customerId, ProductVo productVo) throws Exception;

    /**
     * 后端——查询保险记录
     * */
    public List<InsuranceRecordVo> backSelectInsuranceRecord(Long customerId) throws Exception;

    /**
     * 航联定时任务开保
     * */
    public boolean hangLianOpenInsurance(Long customerId, ProductVo productVo) throws Exception;

    /**
     * 修改德付通保险状态（远程）
     * */
    public int updateStart(InsuranceRecord insuranceRecord);

    InsuranceRecord getInuseranceRecord(Long recordId);
}
